home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr37
/
blt300.zip
/
EDIT.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-01-01
|
2KB
|
168 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
;------------------------------------------------------------------------------
STRING003 = Chr(7)
STRING004 = Chr(13)
StartDisp 1
Delete PPEPath() + "TEMP.!!!"
Delete PPEPath() + "TEMP.@@@"
FOpen 1, PPEPath() + "TEMP.!!!", 2, 0
FOpen 2, PPEPath() + "TEMP.@@@", 2, 0
Cls
PrintLn "Enter a Subject for your Bulletin (No more then 20 characters)"
Print "Subject: "
INTEGER001 = 1
While ((STRING006 <> Chr(13)) && (Len(STRING005) < 20)) Do
Gosub LABEL002
Print STRING006
STRING005 = STRING005 + STRING006
EndWhile
FPut 2, STRING005
Gosub LABEL001
AnsiPos 1, 2
Gosub LABEL002
While (STRING006 <> Chr(27)) Do
Gosub LABEL003
If (STRING006 == Chr(13)) Then
Gosub LABEL003
AnsiPos 1, STRING002 + 1
Gosub LABEL002
FPutLn 1, ""
Continue
Endif
If (((STRING006 == Chr(8)) && (STRING001 == "1")) && (STRING002 <> 2)) Then
Gosub LABEL003
AnsiPos 78, STRING002 - 1
FSeek 1, -1, 1
FPut 1, " "
FSeek 1, -1, 1
Continue
Endif
If ((STRING006 == Chr(8)) && (STRING001 <> "1")) Then
Backup 1
Print " "
Backup 1
FSeek 1, -1, 1
FPut 1, " "
FSeek 1, -1, 1
Gosub LABEL002
Continue
Endif
Gosub LABEL003
If (STRING001 == 78) Then
AnsiPos 1, STRING002 + 1
Print STRING006
FPut 1, STRING006
Gosub LABEL002
Endif
Gosub LABEL003
If (Len(STRING006) == 1) Then
Print STRING006
FPut 1, STRING006
Endif
Gosub LABEL002
EndWhile
FClose 1
End
:LABEL001
Cls
DispFile PPEPath() + "TEMP.!!!", 0
PrintLn "Enter your Bulletin here. Press (ESC) when you are done."
Return
:LABEL002
STRING006 = "UH"
While (STRING006 == "UH") Do
STRING006 = Inkey()
EndWhile
Return
:LABEL003
STRING001 = GetX()
STRING002 = GetY()
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 2 Cls
; 14 Goto
; 8 Let
; 5 Print
; 2 PrintLn
; 8 If
; 1 DispFile
; 2 FOpen
; 1 FClose
; 5 FPut
; 1 FPutLn
; 1 StartDisp
; 2 Delete
; 12 Gosub
; 3 Return
; 4 AnsiPos
; 2 Backup
; 4 FSeek
;
;
; ■ Functions used :
;
; 4 -
; 8 +
; 1 -
; 7 ==
; 4 <>
; 1 <
; 8 !
; 4 &&
; 2 Len(
; 7 Chr()
; 1 Inkey()
; 5 PPEPath()
; 1 GetX()
; 1 GetY()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 3 While/EndWhile
; 5 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------